package cn.wujiangbo.mapper;

import cn.wujiangbo.domain.User;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author colin
 * @since 2021-10-12
 */
public interface UserMapper extends BaseMapper<User> {

    void deleteAllUser();

    void insertBatch(@Param("list") List<User> userList);

    int insertSingle(User user);

    List<User> page(@Param("page") int page, @Param("rows") int rows);

}
